import request from '@/utils/request.js'

export default {
	// 获取短信验证码
	getVerCode(param) {
		return request.post('/api/v2/sms/sendSMS', param, { un_token: true },true)
	},
	// 版本信息
	getLatest(param) {
		return request.get('/api/v1/appVersion/latest', param, { un_token: true },true)
	},
	// 根据taskId获取meetingRecordId
	getMeetingInfoByTaskId(param) {
		return request.get(`/api/v1/meetingRecord/meetinginfo/${param.taskId}`,"", { un_token: true },true)
	},
	//获取所有角色
	getRoleAll(param) {
		return request.get('/api/role/query',"",{ un_token: true })
	},
	//获取角色树
	getRoleTree(param) {
		return request.get('/api/role/tree',param,{ un_token: true })
	},
	//获取用户权限
	getUserAuthor(param) {
		return request.get('/api/perms/tree',"")
	},
	//字典查询
	getDicCode(param) {
		return request.get('/api/dictionary/queryByDictionaryCode',param)
	},
}